-
Notifications
You must be signed in to change notification settings - Fork 39
new_module proxmox_subnet #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #181 +/- ##
==========================================
+ Coverage 64.86% 65.61% +0.75%
==========================================
Files 69 71 +2
Lines 6941 7169 +228
Branches 1326 1361 +35
==========================================
+ Hits 4502 4704 +202
- Misses 2226 2239 +13
- Partials 213 226 +13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Added method to create subnet
- Also fix sanity issues
1ee8825
to
1d6480b
Compare
Hi @IamLunchbox can you Please also check this. @Thulium-Drake this also needs that function from #183 |
6ff3274
to
05e57f0
Compare
The flow chart is kind of daunting 😆 But I'll check this PR and #182 out in the immediate future, to not keep the next release waiting! 😁 |
Yeah flow chart looks bit complicated but basically I'm doing checks in 2 stages stage 2 - chek dhcp_range. this will tell us if user has supplied any new range which are not already present and if any of them partially overlap with existing one to decide what to do with dhcp range we have another parameter If there is partial overlap and mode is overwrite we overwrite if it is append we error out If no overlap and mode is append/overwrite we append/overwrite dhcp and update other parameters as needed If user didn't give any range and if mode is append we just ignore existing ranges. or if mode is overwrite we delete with |
SUMMARY
Added new module
proxmox_subnet
to create/update/delete subnets in proxmox SDNISSUE TYPE
COMPONENT NAME
proxmox_subnet
ADDITIONAL INFORMATION
This is part of #30
Note: If you are trying to test this. it needs sdn locking functions which I've added in #176